package org.dromara.admin.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 首页Banner对象 hr_banners
 *
 * @author Lion Li
 * @date 2025-09-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hr_banners")
public class Banners extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * Banner ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 标题
     */
    private String title;

    /**
     * 图片URL
     */
    private String imageUrl;

    /**
     * 跳转链接
     */
    private String linkUrl;

    /**
     * 排序
     */
    private Long sortOrder;

    /**
     * 是否激活
     */
    private String isActive;


}
